/* eslint-disable eol-last */
/* eslint-disable indent */
'use strict';

// app/utils/format.js

function formatDate(d) {
    const M = d.getMonth() + 1;
    const D = d.getDate();
    const h = d.getHours();
    const m = d.getMinutes();
    return `${M}-${D} ${h}: ${m}`;
}
module.exports = {
    formatDate,
};